# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class ConsumeRecord(object):

    def __init__(self, id=None, billingRecordId=None, appCode=None, serviceCode=None, region=None, resourceId=None, pin=None, formula=None, billingType=None, priceSnapShot=None, startTime=None, endTime=None, createTime=None, billFee=None, billFee2=None, discountFee=None, couponId=None, couponFee=None, transactionNo=None, isBillGenerated=None, subBillId=None, refundNo=None, actualFee=None, formulaName=None):
        """
        :param id: (Optional) 消费记录数据库唯一id
        :param billingRecordId: (Optional) 消费记录id
        :param appCode: (Optional) appCode
        :param serviceCode: (Optional) serviceCode
        :param region: (Optional) 区域
        :param resourceId: (Optional) 资源id
        :param pin: (Optional) 用户pin
        :param formula: (Optional) 规格
        :param billingType: (Optional) 计费类型
        :param priceSnapShot: (Optional) 价格快照
        :param startTime: (Optional) 开始时间
        :param endTime: (Optional) 结束时间
        :param createTime: (Optional) 创建日期
        :param billFee: (Optional) 账单金额
        :param billFee2: (Optional) 账单金额保留小数点后2位
        :param discountFee: (Optional) 折扣金额
        :param couponId: (Optional) 优惠券id
        :param couponFee: (Optional) 优惠金额
        :param transactionNo: (Optional) 交易单号
        :param isBillGenerated: (Optional) null
        :param subBillId: (Optional) 子账单id
        :param refundNo: (Optional) 退款单号
        :param actualFee: (Optional) 优惠后金额
        :param formulaName: (Optional) 规格名称
        """

        self.id = id
        self.billingRecordId = billingRecordId
        self.appCode = appCode
        self.serviceCode = serviceCode
        self.region = region
        self.resourceId = resourceId
        self.pin = pin
        self.formula = formula
        self.billingType = billingType
        self.priceSnapShot = priceSnapShot
        self.startTime = startTime
        self.endTime = endTime
        self.createTime = createTime
        self.billFee = billFee
        self.billFee2 = billFee2
        self.discountFee = discountFee
        self.couponId = couponId
        self.couponFee = couponFee
        self.transactionNo = transactionNo
        self.isBillGenerated = isBillGenerated
        self.subBillId = subBillId
        self.refundNo = refundNo
        self.actualFee = actualFee
        self.formulaName = formulaName
